how to use flexible windows setting